<?php
namespace App\Model\Table;
use Cake\ORM\Table;

class AccountsTable extends Table {
    public function initialize(array $config){
        $this->hasMany(
            'TaskOwners',[
                'className' => 'TaskOwners',
                'foreignKey' => 'account_id'
            ]);
        $this->belongsTo('Teams');
    }


}